package demo2;

public class Derived extends Base{
    public int a = 2;
    public int b;
    public int c;
    public void test(){







        super.method();
    }
    public void method(){
        System.out.println("Derived::methed()");
    }
    public void method(int a){
        System.out.println("Derived::methedB()"+a);
    }
    public static void methodB() {
        System.out.println("Derived::methedB()");
        //System.out.println(super.a);
    }
}
